<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Progma" content="no-cache" />
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/mm_training.css" type="text/css" />
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/user.css" type="text/css" />
<link type="text/css" href="<%=request.getContextPath()%>/css/smoothness/jquery-ui-1.7.1.custom.css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/jquery/jquery-ui-1.7.1.custom.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/CommonRedirect.js"></script>
<script type="text/javascript">

	function goPreviousPage() {
		//window.history.go(-1);
		var context = '<%=request.getContextPath()%>';
		var previousAction = $("#previous").val();
		document.location.replace(context + "/registion/" + previousAction + ".do?previous=previous");
	}

	function finish() {
		document.location.replace("finish.do");
	}
</script>
<style type="text/css">
td {
	font-size: 12px;
}

span {
	color: red;
}

body {
	font-size: 12px;
}

.err_msg {
	color: red;
}
</style>
<title>付款</title>
</head>
<body bgcolor="#64748B">
<form action="<%=request.getContextPath()%>/registion/registeAction.do" enctype="application/x-www-form-urlencoded" method="POST">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr bgcolor="#26354A">
		<td width="15" nowrap="nowrap"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
		<td height="70" colspan="3" class="logo" nowrap="nowrap">Yam廣告聯盟<span class="tagline">| yam of sichuan</span></td>
		<td width="40">&nbsp;</td>
		<td width="100%">&nbsp;</td>
	</tr>
	<tr bgcolor="#FF6600">
		<td colspan="6"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
	</tr>
	<tr bgcolor="#D3DCE6">
		<td colspan="6"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
	</tr>
	<tr bgcolor="#FFCC00">
		<td width="15" nowrap="nowrap">&nbsp;</td>
		<td width="705" colspan="3" height="24">
		<table border="0" cellpadding="0" cellspacing="0" id="navigation">
			<tr>
				<td class="navText" align="center" nowrap="nowrap"><a href="<%=request.getContextPath()%>/index.do">返回首页</a></td>
				<td class="navText" align="center" nowrap="nowrap"></td>
				<td class="navText" align="center" nowrap="nowrap"></td>
				<td class="navText" align="center" nowrap="nowrap"></td>
				<td class="navText" align="center" nowrap="nowrap"></td>
				<td class="navText" align="center" nowrap="nowrap"></td>
			</tr>
		</table>
		</td>
		<td width="40"></td>
		<td width="100%"></td>
	</tr>
	<tr bgcolor="#D3DCE6">
		<td colspan="6"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
	</tr>
	<tr bgcolor="#FF6600">
		<td colspan="6"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
	</tr>
	<tr bgcolor="#D3DCE6">
		<td width="230" valign="top" bgcolor="#26354a" colspan="2">
		<table width="230" bgcolor="#26354a" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td width="230" class="pageName" style="font-size: 14px;">付款</td>
			</tr>
			<tr>
				<td width="230" class="pageName" style="font-size: 14px;"></td>
			</tr>
		</table>
		</td>
		<td width="50" valign="top"><img width="50" height="1" border="0" alt="" src="<%=request.getContextPath()%>/images/mm_spacer.gif" /></td>
		<td width="440" valign="top">
				<table width="440" cellspacing="0" cellpadding="0" border="0">
					<tbody>
						<tr>
							<td colspan="2"><input type="radio" name="purchaseType" id="purchaseType1" value="1" checked="checked"/>信用卡</td>
						</tr>
						<tr>
							<td colspan="2">使用信用卡缴款,广告即可上线
							</td>
						</tr>
						<tr>
							<td width="50%">付款金额(含营业税5%):NT$</td>
							<td ><input type="text" id="howmuch" name="howmuch"/></td>
						</tr>
						<tr>
							<td >信用卡各类:</td>
							<td >
							<SELECT id="creditType" name="creditType">
								<option value="visa">VISA</option>
								<option value="unionpay">银联</option>
							</SELECT>  </td>
						</tr>
						<tr>
							<td >信用卡卡号:</td>
							<td ><input type="text" id="cardnumber" name="cardnumber"/></td>
						</tr>
						<tr>
							<td >有效期限:</td>
							<td >
							<input type="text" id="validdate" name="validdate"/></td>
						</tr>
						<tr>
							<td >安全码:</td>
							<td >
							<input type="text" id="safecode" name="safecode"/>显示范例</td>
						</tr>
						<tr>
							<td colspan="2">
							<table>
								<tr>
									<td><input type="radio" name="purchaseType" id="purchaseType2" value="2"/>银行转账</td>
									<td>您將於註冊完成10分鐘內收到email與簡訊，告知匯款帳號。
匯款至少需2個工作天才能入帳。
建議您以信用卡付款，讓廣告快速上線。 </td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td width="51%" align="right"><input type="button" name="preStep" id="preStep" value="上一步" onclick="goPreviousPage();"/></td>
							<td width="51%" align="left"><input type="button" name="nextStep" id="nextStep" value="完成" onclick="finish()"/></td>
						</tr>
					</tbody>
				</table>
		</td>
		<td width="40">&nbsp;<input type="hidden" id="previous" name="previous" value="<s:property value="previous"/>"/></td>
		<td width="100%">&nbsp;</td>
	</tr>
	<tr bgcolor="#D3DCE6">
		<td colspan="6"><img src="<%=request.getContextPath()%>/images/mm_spacer.gif" width="1" height="1" border="0" /></td>
	</tr>
</table>
</form>
</body>
</html>